﻿@{
    Layout = null;
}
@*分离单标*@
<script src="~/Scripts/MGJJS/FleeGoods/SliptCase.js"></script>
<form id="InfoForm">
    <div class="mtlr15">
        <div class="new-row" style="justify-content:center;align-content:center">
            <div class="col-xs-3 col-md-3 text-right font-size-18">
                请输入需要拆箱的物流码：
            </div>

            <div class="col-xs-6 col-md-6 place">
                <input id="fw_code" type="text" name="single" value=" " class="form-control" style="width:400px;" />
            </div>
        </div>
        <div class="new-row" style="justify-content:center;align-content:center">
            <button type="button" class="btn btn-success" onclick="$.MGJ.SliptCase.Ajax_SliptCase($('#fw_code').val())">
                <i class=" glyphicon glyphicon-random">
                </i>
                拆箱
            </button>
        </div>
        <div class="form-group RowAlgnTop">
        </div>
    </div>
</form>
<script>
    $('#InfoForm').bootstrapValidator({
        group: '.new-row',
        fields: {
            single: {
                validators: {
                    notEmpty: {
                        message: '需要分离的物流码不能为空'
                    },
                    stringLength: {
                        min: 6,
                        message: '需要分离的物流码不能少于6位！'
                    },
                }
            },
        }
    });

</script>